package com.hq.bootdemo.mapper;

import com.hq.bootdemo.entity.CustomerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CustomerMapper {
    List<CustomerEntity> selectAll();

    int insertOne(@Param("cName") String cName, @Param("cNum") String cNum, @Param("cPhone") String cPhone, @Param("rNum") Integer rNum);

    CustomerEntity selectOne(@Param("id") Integer id);
}
